<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>{#$pageValue.title#}{#$meta.title#}</title>
        <meta name="keywords" content="{#$meta.keywords#}" />
        <meta name="description" content="{#$meta.description#}" />
        <meta name="viewport" content="width=1024, maximum-scale=1.0" />
        {#foreach from=$pageoptions.metas item=v#}
        <meta  {#foreach from=$v item=v2 key=k2#} {#$k2#}="{#$v2#}" {#/foreach#} />
            {#/foreach#}

            <link rel="stylesheet" href="/css/global.css" />
        <link rel="stylesheet" href="/css/style.css" />
        <link rel="shortcut icon" href="/favicon.ico" />
        <link rel="icon" href="/animated_favicon.gif" type="image/gif" />
        <link rel="apple-touch-icon" href="/favicon_apple.png"/>
        <script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>

        <script type="text/javascript" src="/js/main.js?123456"></script>
        <script type="text/javascript" src="/js/validate.js"></script>

<!--[if lt IE 9]><script src="/js/html5.js"></script><![endif]-->
        {#foreach from=$pageoptions.csses item=v key=k#}
        <link rel="stylesheet" type="text/css" href="/css/{#$v#}.css" />
        {#/foreach#}
        {#foreach from=$pageoptions.jses item=v key=k#}
        <script type="text/javascript" src="/js/{#$v#}.js"></script>
        {#/foreach#}

        <script type="text/javascript">
            <!--
            var _gaq = _gaq || [];

            _gaq.push(
            ['_setAccount', 'UA-15204427-22'],
            ['_setCustomVar', 1, 'Section', 'imore_trial', 3],
            ['_trackPageview']
        );

		 var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-15204427-42']);
  _gaq.push(['_setCustomVar', 1, 'Section', '{#$section_name#}', 3]);
  _gaq.push(['_trackPageview']
  );
  {#if $hairpro_ga#}
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-15204427-42']);
  _gaq.push(['_setCustomVar', 1, 'Section', '{#$hairpro_ga#}', 3]);
  _gaq.push(['_trackPageview']
  );{#/if#}



            (function() {
                var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
                ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
                var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
            })();
            -->
        </script>
        <script>

            $(document).ready(function(){
                memberBar();
            });
            function memberBar(){
                $.ajax({

                    url : '/member.php?action=ajax_memberBar&url='+encodeURIComponent(document.location.href),
                    {#php#}
                    $action=$_GET['action'];
                    if($action=="reg" || $action=="login" || $action=="login_fnb") echo "url : '/member.php?action=ajax_memberBar&url=index',";
                    {#/php#}
                    type : 'POST',
                    dataType : 'html',
                    success: function(html){
                        var Template = html;
                        $("#topmember").html(html);
                    }
                });
            }

            function tag_in(t){
                $("#tag"+t).attr('v',1);
                $('[s='+t+']').show();
                $("#tagg"+t).attr("class","curr m m"+(t+1));
            }
            function tag_out(t){
                $("#tag"+t).attr('v',0);
                setTimeout("tag_c("+t+")",200);
                if(t==1){
                    {#if !$curr2#}$("#tagg"+t).attr("class","m m"+(t+1));{#/if#}
                }else if(t==2){
                    {#if !$curr3#}$("#tagg"+t).attr("class","m m"+(t+1));{#/if#}
                }
            }
            function tag_c(t){
                if(parseInt($("#tag"+t).attr('v'))==0){
                    $('[s='+t+']').fadeOut('fast');
                }
            }
        </script>

<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
<script src='http://connect.facebook.net/zh_HK/all.js'></script>
        <script>
            FB.init({appId: "{#php#}echo FB_APPID;{#/php#}", status: true, cookie: true,xfbml: true});
        </script>
    </head>
    <body>




<a name="fb_share" type="button_count" href="http://www.facebook.com/sharer.php">Share</a>
